package cn.stronglink.assetmanage.business.setting.ipset;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import cn.stronglink.assetmanage.R;

/**
 * @author zww
 * 2018 2018/6/17 21:17
 */
public class SystemFragment extends Fragment {
    private static SystemFragment instance;
    View view;
    private SystemSettingView systemSettingView;

    public synchronized static SystemFragment getInstance() {
        if (null == instance) {
            instance = new SystemFragment();
        }
        return instance;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        view = inflater.inflate(R.layout.fragment_setting_config, container, false);
        systemSettingView = new SystemSettingView(this, view);
        TextView txt_title_right = this.getActivity().findViewById(R.id.txt_right_title);
        txt_title_right.setVisibility(View.GONE);
        TextView txt_title_left = this.getActivity().findViewById(R.id.txt_left_title);
        txt_title_left.setVisibility(View.GONE);
        return view;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
    }
}
